<template>
	<text class="iconfont icon-heart" :style="{fontSize:size+'rpx'}"></text>
</template>

<script>
	export default{
		props:{
			size:[Number,String] //单位rpx
		}
	}
</script>

<style scoped>
	.icon-heart{
		font-size: inherit;
	}
</style>
